package dao;

import entity.Feedback;

import java.util.List;

/**
 * @Date: 2020-04-16
 * @Description: @PACKAGE:cn.tianbao.dao
 * @version: 1.0
 */
public interface FeedBackDao {

    List<Feedback> getAllFeedback();

    List<Feedback> getAllShortByFrequency(String aORde);

    List<Feedback> getByDoctorName(String name);

    List<Feedback> getByDoctorId(String id);

    List<Feedback> getByFlag();

    int add(Feedback feedback);

    int delete(String doctor);

    int update(Feedback tFeedback);

    int updateFlag(int num);


}